package vesko1;

import org.jdesktop.application.Application;
import org.jdesktop.application.SingleFrameApplication;

/**
 * The main class of the application.
 */
public class Vesko1App extends SingleFrameApplication {

    /**
     * At startup create and show the main frame of the application.
     */
    @Override protected void startup() {
        show(new Vesko1View(this));
    }


    /**
     * A convenient static getter for the application instance.
     * @return the instance of Vesko1App
     */
    public static Vesko1App getApplication() {
        return Application.getInstance(Vesko1App.class);
    }

    /**
     * Main method launching the application.
     */
    public static void main(String[] args) {
        launch(Vesko1App.class, args);
    }
}
